package com.companion.companion.domain;


import java.util.Date;

/**
 * 管理员信息对象 admin
 * 
 * @author zly
 * @date 2025-05-06
 */
public class Admin
{

    /** 管理员ID */
    private Long adminId;

    /** 管理员用户名 */
    private String username;

    /** 管理员密码 */
    private String password;

    /** 管理员姓名 */
    private String name;

    /** 联系电话 */
    private String phone;

    /** 邮箱地址 */
    private String email;

    private Date createTime;


    public Admin() {
    }

    public Admin(Long adminId, String username, String password, String name, String phone, String email, Date createTime) {
        this.adminId = adminId;
        this.username = username;
        this.password = password;
        this.name = name;
        this.phone = phone;
        this.email = email;
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return adminId
     */
    public Long getAdminId() {
        return adminId;
    }

    /**
     * 设置
     * @param adminId
     */
    public void setAdminId(Long adminId) {
        this.adminId = adminId;
    }

    /**
     * 获取
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 获取
     * @return email
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置
     * @param email
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * 获取
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String toString() {
        return "Admin{adminId = " + adminId + ", username = " + username + ", password = " + password + ", name = " + name + ", phone = " + phone + ", email = " + email + ", createTime = " + createTime + "}";
    }
}
